using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;

namespace NetRosApp.Infrastructure.Interface.Base.BaseViews
{
    public partial class ReportSelectorFrm : XtraForm
    {
        public ReportSelectorFrm()
        {
            InitializeComponent();
        }

        private void simpleButton1_Click(object sender, EventArgs e)
        {
            this.DialogResult = DialogResult.Cancel;
            this.Close();
        }

        private void LBIzabir_KeyPress(object sender, KeyPressEventArgs e)
        {
            if (e.KeyChar == (char)Keys.Enter)
            {
                this.DialogResult = DialogResult.OK;
                this.Close();
            }
        }

        private void LBIzabir_MouseDoubleClick(object sender, MouseEventArgs e)
        {
               this.DialogResult = DialogResult.OK;
               this.Close();
        }

    }
}